package com.glory.good_dark.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author Wei.Che
 * @date 2020/06/07
 * @desc 进站返回成功处理 一下多批的批号和状态
 */
public class PDALotidTrankOutEntity implements Serializable {
    private String EQP_ID;//设备号
    private String CRR_ID;//运输筐号
    private String ADJUST_TRACK;//调整轨道默认2，【只有WB工序PROCESS=”Q040”时，根据弹出的询问选择对话框“是否调整轨道”得到（1-调整轨道；0-不调整轨道）】
    private String LOT_ID;//进站的批号
    private String EQP_RUN_STATE;//设备状态
    private List<TrankoutLotIDListEntity> EQP_RUN_LOTIDLIST;// 设备其他的LOTlist列表

    public String getEQP_ID() {
        return EQP_ID == null ? "" : EQP_ID;
    }

    public void setEQP_ID(String EQP_ID) {
        this.EQP_ID = EQP_ID;
    }

    public String getCRR_ID() {
        return CRR_ID == null ? "" : CRR_ID;
    }

    public void setCRR_ID(String CRR_ID) {
        this.CRR_ID = CRR_ID;
    }

    public String getADJUST_TRACK() {
        return ADJUST_TRACK == null ? "" : ADJUST_TRACK;
    }

    public void setADJUST_TRACK(String ADJUST_TRACK) {
        this.ADJUST_TRACK = ADJUST_TRACK;
    }

    public String getLOT_ID() {
        return LOT_ID == null ? "" : LOT_ID;
    }

    public void setLOT_ID(String LOT_ID) {
        this.LOT_ID = LOT_ID;
    }

    public String getEQP_RUN_STATE() {
        return EQP_RUN_STATE == null ? "" : EQP_RUN_STATE;
    }

    public void setEQP_RUN_STATE(String EQP_RUN_STATE) {
        this.EQP_RUN_STATE = EQP_RUN_STATE;
    }

    public List<TrankoutLotIDListEntity> getEQP_RUN_LOTIDLIST() {
        if (EQP_RUN_LOTIDLIST == null) {
            return new ArrayList<>();
        }
        return EQP_RUN_LOTIDLIST;
    }

    public void setEQP_RUN_LOTLIST(List<TrankoutLotIDListEntity> EQP_RUN_LOTLIST) {
        this.EQP_RUN_LOTIDLIST = EQP_RUN_LOTLIST;
    }

    public class TrankoutLotIDListEntity implements Serializable{
        private String LOT_ID;

        private String LOT_STATE;

        public String getLOT_ID() {
            return LOT_ID == null ? "" : LOT_ID;
        }

        public void setLOT_ID(String LOT_ID) {
            this.LOT_ID = LOT_ID;
        }

        public String getLOT_STATE() {
            return LOT_STATE == null ? "" : LOT_STATE;
        }

        public void setLOT_STATE(String LOT_STATE) {
            this.LOT_STATE = LOT_STATE;
        }
    }
}
